package com.sakura.mall.member.memberStatisticsInfo.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.member.memberStatisticsInfo.domain.entity.MemberStatisticsInfoEntity;
import com.sakura.mall.member.memberStatisticsInfo.domain.request.AddMemberStatisticsInfoRequest;
import com.sakura.mall.member.memberStatisticsInfo.domain.request.UpdateMemberStatisticsInfoRequest;
import com.sakura.mall.member.memberStatisticsInfo.domain.request.MemberStatisticsInfoPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.member.memberStatisticsInfo.domain.vo.MemberStatisticsInfoVo;

/**
 * 会员统计信息 service
 *
 * @author sakura
 */
public interface MemberStatisticsInfoService extends IService<MemberStatisticsInfoEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<MemberStatisticsInfoVo> queryPage(MemberStatisticsInfoPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddMemberStatisticsInfoRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateMemberStatisticsInfoRequest request);
}
